dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abae238
)
followup to r77843: fix off by one error
author
Ilmari Karonen
<vyznev@users.mediawiki.org>
Mon, 6 Dec 2010 00:36:54 +0000
(
00:36
+0000)
committer
Ilmari Karonen
<vyznev@users.mediawiki.org>
Mon, 6 Dec 2010 00:36:54 +0000
(
00:36
+0000)
includes/HTMLFileCache.php
patch
|
blob
|
history
diff --git
a/includes/HTMLFileCache.php
b/includes/HTMLFileCache.php
index
e167150
..
26cb147
100644
(file)
--- a/
includes/HTMLFileCache.php
+++ b/
includes/HTMLFileCache.php
@@
-46,7
+46,7
@@
class HTMLFileCache {
$key = $this->mTitle->getPrefixedDbkey();
if ( $wgFileCacheDepth > 0 ) {
$hash = md5( $key );
- for ( $i = 1; $i < $wgFileCacheDepth; $i++ ) {
+ for ( $i = 1; $i <
=
$wgFileCacheDepth; $i++ ) {
$subdir .= substr( $hash, 0, $i ) . '/';
}
}